package sd.qd.xiaoming.coffeedesk.entity;

import javax.persistence.Entity;
import javax.xml.bind.annotation.XmlRootElement;

@Entity
@XmlRootElement
public class CdIcon extends BaseEntity {

	private String text;
	private String code;

	public String getCode() {
		return this.code;
	}

	public String getText() {
		return this.text;
	}

	public void setCode(final String code) {
		this.code = code;
	}

	public void setText(final String text) {
		this.text = text;
	}

	@Override
	public String toString() {
		return "CdIcon [text=" + this.text + ", code=" + this.code + "]";
	}

}
